<?php
/**
 * Created by PhpStorm.
 * User: Admin
 * Date: 2019/11/14
 * Time: 16:40
 */

namespace DuRequest\Checker\lib;


class EmailChecker extends RegChecker
{
    public function __construct($key, $error_msg )
    {
        parent::__construct($key, $error_msg, '/^[A-Za-z0-9]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/');
    }
}